<%@include file="../../header.jsp" %>


<center>

	<h2><s:text name="listusers.title"/></h2>
	
	
	<table class="tabela_pesquisas">
			<tr>
			<th><s:text name="prompt.id"/></th>
			<th><s:text name="prompt.first_name"/></th>
			<th><s:text name="prompt.last_name"/></th>
			<th><s:text name="prompt.email"/></th>
			<th><s:text name="prompt.user_type"/></th>
		</tr>
		
		<s:iterator value="#request.users" status="status">
        <s:url id="editURL" action="edit_type_user"><s:param name="id"><s:property value="id"/></s:param></s:url>
		<tr>
		
			<td><s:property value="id" /></td>
			<td><s:property value="first_name" /></td>
			<td><s:property value="last_name" /></td>
			<td><s:property value="email" /></td>
			<td><s:property value="user_type" /> <a href="<s:property value="editURL"/>"><img src="/AnaliseDNA/include/images/icone_editar.gif" alt="Editar" /></a></td>
		</tr>
	</s:iterator>
	</table>

	<br /><br /><br /><br /><br />
	
<s:url id="nextURL" action="list_users"><s:param name="page"><s:property value="nextPage"/></s:param></s:url>
<s:url id="prevURL" action="list_users"><s:param name="page"><s:property value="previousPage"/></s:param></s:url>
	
<a href="<s:property value="prevURL"/>"><s:text name="menu.user.prev"/></a> | 
<a href="<s:property value="nextURL"/>"><s:text name="menu.user.next"/></a> 

</center>


<%@include file="../../footer.jsp" %>